package jp.sourceforge.akjrcp.draw2d;

import org.eclipse.draw2d.Figure;
import org.eclipse.draw2d.FlowLayout;
import org.eclipse.draw2d.geometry.Rectangle;

public class PerspectiveHelpButton extends Figure{
private String perspectiveID;
private String url;
private String urlLabel;
private String perlspectiveLabel;
private RoundRectangleButton urlFigure;
private OpenPerspectiveButton perspectiveFigure;
public PerspectiveHelpButton(){
	this.setLayoutManager(new FlowLayout());
	urlFigure=new RoundRectangleButton();
	urlFigure.setBounds(new Rectangle(0,0,90,60));
	this.add(urlFigure);
	perspectiveFigure=new OpenPerspectiveButton();
	perspectiveFigure.setBounds(new Rectangle(0,0,200,60));
	this.add(perspectiveFigure);
}

public void setPerspectiveID(String id){
	perspectiveFigure.setPerspectiveID(id);
}


}
